// 路由中间件 https://nuxt.com.cn/docs/getting-started/routing
// @ts-ignore
export default defineNuxtRouteMiddleware((to, from) => {
  
  // console.log('to:',to)
  if (to.name === 'index' || !to.name) {
    // @ts-ignore
    return navigateTo('/vender')
  }else {
    return 
  }
})
